﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Page/MasterPage.master" AutoEventWireup="true"
    CodeFile="EnterpriseDetails.aspx.cs" Inherits="Page_Expert_ExpertOfDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="../../CSS/PageStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="FrameStyle">
        <div class="PageTitleStyle">
            <asp:Image ID="bgpicEnterpriceInfo" runat="server" ImageUrl="~/Images/Enterprise/bgpicEnterprisesDetailsTop.png" />
        </div>
        <div id="EnterpricesDetails">
            <div class="bgTop">
            </div>
            <div class="bgRepeat">
                <asp:DetailsView ID="DVEnterprise" runat="server" AutoGenerateRows="False" 
                    CssClass="DataViewStyle">
                    <Fields>
                        <asp:BoundField DataField="EnterpriseName" HeaderText="Enterprise Name"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EnterpriseType" HeaderText="Enterprise Type"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="Enterprise Introduce">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" 
                                    Text='<%# Bind("EnterpriseIntroduce") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <InsertItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" 
                                    Text='<%# Bind("EnterpriseIntroduce") %>'></asp:TextBox>
                            </InsertItemTemplate>
                            <ItemTemplate>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("EnterpriseIntroduce") %>' ></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="EnterprisePhone" HeaderText="Enterprise Phone"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EnterpriseEmail" HeaderText="Enterprise Email"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EnterpriseAddress" HeaderText="Enterprise Address"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EnterprisePostalCode" HeaderText="Enterprise PostalCode"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EnterpriseCity" HeaderText="Enterprise City"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                        <asp:BoundField DataField="EnterpriseProvince" HeaderText="Enterprise State"><HeaderStyle CssClass="DataDetailsHeaderStyle" />
                            <ItemStyle CssClass="DataDetailsItemStyle" />
                        </asp:BoundField>
                    </Fields>
                </asp:DetailsView>
            </div>
            <div class="bgBottom">
            </div>
            <div class="ButtonAndBlankStyle">
                <table>
                    <tr>
                        <td width="445px">
                        </td>
                        <td width="85px">
                            <asp:ImageButton ID="btnEnterpricesInfoBack" runat="server" 
                                ImageUrl="~/Images/btnPublicBack.png" onclick="btnEnterpricesInfoBack_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
</asp:Content>
